/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ejb.controllers;

import javax.enterprise.context.RequestScoped;
import javax.inject.Named;

/**
 *
 * @author MoisesAntonio
 */
@Named
@RequestScoped
public class Credentials {

    private String username;

    private String password;
    
    private Tipo tipo;

    public String getUsername() { return username; }

    public void setUsername(String username) { this.username = username; }

    public String getPassword() { return password; }

    public void setPassword(String password) { this.password = password; }
    
    public Tipo getTipo(){ return tipo; }
    
    public void setTipo(Tipo t){ this.tipo=t; }
    
}

enum Tipo{usuario, administrador};